﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AAF RID: 2735
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MABPAECJNNF : IMessage<MABPAECJNNF>, IMessage, IEquatable<MABPAECJNNF>, IDeepCloneable<MABPAECJNNF>, IBufferMessage
	{
		// Token: 0x17002285 RID: 8837
		// (get) Token: 0x06007A61 RID: 31329 RVA: 0x00146F53 File Offset: 0x00145153
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MABPAECJNNF> Parser
		{
			get
			{
				return MABPAECJNNF._parser;
			}
		}

		// Token: 0x17002286 RID: 8838
		// (get) Token: 0x06007A62 RID: 31330 RVA: 0x00146F5A File Offset: 0x0014515A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MABPAECJNNFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002287 RID: 8839
		// (get) Token: 0x06007A63 RID: 31331 RVA: 0x00146F6C File Offset: 0x0014516C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MABPAECJNNF.Descriptor;
			}
		}

		// Token: 0x06007A64 RID: 31332 RVA: 0x00146F73 File Offset: 0x00145173
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MABPAECJNNF()
		{
		}

		// Token: 0x06007A65 RID: 31333 RVA: 0x00146F7C File Offset: 0x0014517C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MABPAECJNNF(MABPAECJNNF other) : this()
		{
			this.cellId_ = other.cellId_;
			this.bEHNDLFNNIH_ = other.bEHNDLFNNIH_;
			this.mapId_ = other.mapId_;
			this.bJJGNIFGBCF_ = other.bJJGNIFGBCF_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007A66 RID: 31334 RVA: 0x00146FD0 File Offset: 0x001451D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MABPAECJNNF Clone()
		{
			return new MABPAECJNNF(this);
		}

		// Token: 0x17002288 RID: 8840
		// (get) Token: 0x06007A67 RID: 31335 RVA: 0x00146FD8 File Offset: 0x001451D8
		// (set) Token: 0x06007A68 RID: 31336 RVA: 0x00146FE0 File Offset: 0x001451E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CellId
		{
			get
			{
				return this.cellId_;
			}
			set
			{
				this.cellId_ = value;
			}
		}

		// Token: 0x17002289 RID: 8841
		// (get) Token: 0x06007A69 RID: 31337 RVA: 0x00146FE9 File Offset: 0x001451E9
		// (set) Token: 0x06007A6A RID: 31338 RVA: 0x00146FF1 File Offset: 0x001451F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool BEHNDLFNNIH
		{
			get
			{
				return this.bEHNDLFNNIH_;
			}
			set
			{
				this.bEHNDLFNNIH_ = value;
			}
		}

		// Token: 0x1700228A RID: 8842
		// (get) Token: 0x06007A6B RID: 31339 RVA: 0x00146FFA File Offset: 0x001451FA
		// (set) Token: 0x06007A6C RID: 31340 RVA: 0x00147002 File Offset: 0x00145202
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MapId
		{
			get
			{
				return this.mapId_;
			}
			set
			{
				this.mapId_ = value;
			}
		}

		// Token: 0x1700228B RID: 8843
		// (get) Token: 0x06007A6D RID: 31341 RVA: 0x0014700B File Offset: 0x0014520B
		// (set) Token: 0x06007A6E RID: 31342 RVA: 0x00147013 File Offset: 0x00145213
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BHEJHNMAOPF BJJGNIFGBCF
		{
			get
			{
				return this.bJJGNIFGBCF_;
			}
			set
			{
				this.bJJGNIFGBCF_ = value;
			}
		}

		// Token: 0x06007A6F RID: 31343 RVA: 0x0014701C File Offset: 0x0014521C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MABPAECJNNF);
		}

		// Token: 0x06007A70 RID: 31344 RVA: 0x0014702C File Offset: 0x0014522C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MABPAECJNNF other)
		{
			return other != null && (other == this || (this.CellId == other.CellId && this.BEHNDLFNNIH == other.BEHNDLFNNIH && this.MapId == other.MapId && this.BJJGNIFGBCF == other.BJJGNIFGBCF && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007A71 RID: 31345 RVA: 0x00147098 File Offset: 0x00145298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CellId != 0U)
			{
				num ^= this.CellId.GetHashCode();
			}
			if (this.BEHNDLFNNIH)
			{
				num ^= this.BEHNDLFNNIH.GetHashCode();
			}
			if (this.MapId != 0U)
			{
				num ^= this.MapId.GetHashCode();
			}
			if (this.BJJGNIFGBCF != BHEJHNMAOPF.MonopolyCellStateIdle)
			{
				num ^= this.BJJGNIFGBCF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007A72 RID: 31346 RVA: 0x00147128 File Offset: 0x00145328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007A73 RID: 31347 RVA: 0x00147130 File Offset: 0x00145330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007A74 RID: 31348 RVA: 0x0014713C File Offset: 0x0014533C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CellId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.CellId);
			}
			if (this.MapId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.MapId);
			}
			if (this.BJJGNIFGBCF != BHEJHNMAOPF.MonopolyCellStateIdle)
			{
				output.WriteRawTag(72);
				output.WriteEnum((int)this.BJJGNIFGBCF);
			}
			if (this.BEHNDLFNNIH)
			{
				output.WriteRawTag(80);
				output.WriteBool(this.BEHNDLFNNIH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007A75 RID: 31349 RVA: 0x001471D0 File Offset: 0x001453D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CellId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CellId);
			}
			if (this.BEHNDLFNNIH)
			{
				num += 2;
			}
			if (this.MapId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MapId);
			}
			if (this.BJJGNIFGBCF != BHEJHNMAOPF.MonopolyCellStateIdle)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.BJJGNIFGBCF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007A76 RID: 31350 RVA: 0x0014724C File Offset: 0x0014544C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MABPAECJNNF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CellId != 0U)
			{
				this.CellId = other.CellId;
			}
			if (other.BEHNDLFNNIH)
			{
				this.BEHNDLFNNIH = other.BEHNDLFNNIH;
			}
			if (other.MapId != 0U)
			{
				this.MapId = other.MapId;
			}
			if (other.BJJGNIFGBCF != BHEJHNMAOPF.MonopolyCellStateIdle)
			{
				this.BJJGNIFGBCF = other.BJJGNIFGBCF;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007A77 RID: 31351 RVA: 0x001472C4 File Offset: 0x001454C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007A78 RID: 31352 RVA: 0x001472D0 File Offset: 0x001454D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 56U)
					{
						this.CellId = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.MapId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.BJJGNIFGBCF = (BHEJHNMAOPF)input.ReadEnum();
						continue;
					}
					if (num == 80U)
					{
						this.BEHNDLFNNIH = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002EC8 RID: 11976
		private static readonly MessageParser<MABPAECJNNF> _parser = new MessageParser<MABPAECJNNF>(() => new MABPAECJNNF());

		// Token: 0x04002EC9 RID: 11977
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002ECA RID: 11978
		public const int CellIdFieldNumber = 7;

		// Token: 0x04002ECB RID: 11979
		private uint cellId_;

		// Token: 0x04002ECC RID: 11980
		public const int BEHNDLFNNIHFieldNumber = 10;

		// Token: 0x04002ECD RID: 11981
		private bool bEHNDLFNNIH_;

		// Token: 0x04002ECE RID: 11982
		public const int MapIdFieldNumber = 8;

		// Token: 0x04002ECF RID: 11983
		private uint mapId_;

		// Token: 0x04002ED0 RID: 11984
		public const int BJJGNIFGBCFFieldNumber = 9;

		// Token: 0x04002ED1 RID: 11985
		private BHEJHNMAOPF bJJGNIFGBCF_;
	}
}
